Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 5cff275bcc1bdd32f294b4af99247bf8a4fa93ee


Parents : 6282d58
Author : Mark Qvist <mark@unsigned.io>
Date : 2024-05-05T14:24:18+02:00

Added app launcher integration

Changes

3 files changed, 24 insertions(+), 0 deletions(-)

M setup.py +4

Diff

diff --git a/sbapp/assets/io.unsigned.sideband.desktop b/sbapp/assets/io.unsigned.sideband.desktop
new file mode 100644
index 00000000..bb6ba338
--- /dev/null
+++ b/sbapp/assets/io.unsigned.sideband.desktop
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Comment[en_US]=
+Comment=
+Encoding=UTF-8
+Exec=sideband
+GenericName[en_US]=LXMF messaging, telemetry and remote control
+GenericName=LXMF messaging, telemetry and remote control
+Icon=io.unsigned.sideband.png
+Categories=InstantMessaging,Network
+MimeType=
+Name[en_US]=Sideband
+Name=Sideband
+Path=
+StartupNotify=true
+Terminal=false
+TerminalOptions=
+Type=Application
+Version=0.8.3
+X-KDE-SubstituteUID=false
+X-KDE-Username=
\ No newline at end of file

diff --git a/sbapp/assets/io.unsigned.sideband.png b/sbapp/assets/io.unsigned.sideband.png
new file mode 100644
index 00000000..f935d617
Binary files /dev/null and b/sbapp/assets/io.unsigned.sideband.png differ

diff --git a/setup.py b/setup.py
index d3cd2379..57dffcce 100644
--- a/setup.py
+++ b/setup.py
@@ -79,6 +79,10 @@ setuptools.setup(
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
],
+ data_files = [
+ ('share/applications', ['sbapp/assets/io.unsigned.sideband.desktop']),
+ ('share/icons/hicolor/512x512/apps', ['sbapp/assets/io.unsigned.sideband.png']),
+ ],
entry_points= {
'console_scripts': [
'sideband=sbapp:main.run',


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────